local protobuf = require "protobuf"
return function(filename)
    local file = io.open(filename,"rb")
    local databuff = file:read "*a"
    file:close()
    protobuf.register(databuff)
end
